home *** CD-ROM | disk | FTP | other *** search
- #!/bin/sh
- #Tag 0x1064E
- #########################################################################
- # #
- # NETSCAPE startup utility #
- # Copyright (c) 1997 by Netscape Communications Corporation #
- # Copyright (c) 1998-1999 by Silicon Graphics, Inc #
- # #
- # File name: netscape #
- # #
- # Version: 1.0 #
- # #
- # Description: This script starts up Communicator software #
- # on an SGI workstation. #
- # #
- # Usage: To execute the script, type: #
- # #
- # ./netscape [ args ] #
- # #
- # Exit codes: 0 Successful completion #
- # #
- # Author(s): Brian Ostrom (briano@netscape.com) #
- # Victor Riley (var@sgi.com) #
- # #
- # Notes: * MOZILLA_HOME is /var/netscape/communicator #
- # #
- #########################################################################
- #
- PRODUCT="Communicator"
- MOZILLA_HOME=/var/netscape/communicator
- PATH=${MOZILLA_HOME}:${PATH}
- export MOZILLA_HOME PATH
-
- #
- # Is this a first time startup? If so, create the .netscape dir
- # and put the default bookmark file in it.
- #
- if test ! -d ${HOME}/.netscape
- then
- # New install, or upgrade from 0.x or 1.x.
- mkdir ${HOME}/.netscape
- if test -f ${MOZILLA_HOME}/bookmark.htm
- then
- cp ${MOZILLA_HOME}/bookmark.htm ${HOME}/.netscape/bookmarks.html
- chmod 644 ${HOME}/.netscape/bookmarks.html
- fi
- fi
-
- netscape "$@"
-